@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
}
html {
    font-size: 62.5%;
}
body{background: #ededed;}
#mainContents ul,
#mainContents li {
    list-style: none;
    list-style-position: outside;
}

#mainContents a:hover img {
    opacity: 0.9;
}

#mainContents a {
    outline: none;
}
#mainContents a:focus {
    outline: none;
}
#mainContents .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
#mainContents .clearfix {
    min-height: 1px;
}
* html .clearfix {
    height: 1px;
    /*\*/
    /*/
  height: auto;
  overflow: hidden;
  /**/
}
#mainContents{
    max-width: 980px;
    margin: 0 auto;
    font-family: -apple-system, Segoe UI, Helvetica Neue, Hiragino Kaku Gothic ProN, "メイリオ", meiryo, sans-serif;
    line-height: 1.4;
    color: #333;
    -webkit-text-size-adjust: 100%;
    font-size: 1.4rem;
    line-height: 1.7;
    background: #fff;
    box-sizing: border-box;
}
#mainContents img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}
#mainContents section{
    box-sizing: border-box;
    max-width: 920px;
    margin: 0 auto;
    margin-bottom: 40px;
}
#mainContents section:last-child{
    margin-bottom: 0;
    padding: 0;
}

.linkBtn {
    margin: auto;
}

.linkBtn a{
    display:block;
}
/*-----------------------------
    header
------------------------------*/

/*-----------------------------
    mv
------------------------------*/
.mv{
    background: url(../images/bg_mv.png)no-repeat;
    background-size: cover;
    padding-top: 10px;
    min-height: 440px;
    margin-top: 20px!important;
}
.mv .box{
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    justify-content: space-between;
    margin-top: 250px;
}
.mv .box a:hover{
    opacity: 0.7;
    display: block;
    transform: translate(5px,5px);
}
/*-----------------------------
    cp
------------------------------*/
.cp{
    display: flex;
    justify-content: space-between;
    max-width: 920px;
    margin: 0 auto;
}
/*-----------------------------
    summary
------------------------------*/
/*-----------------------------
    menu
------------------------------*/
.menu{
    background: url(../images/bg_menu.png)no-repeat;
    background-size: cover;
    padding: 40px 0;
}
.menu .ttl{
    padding-bottom: 20px;
    border-bottom: #534741 4px dotted;
    max-width: 870px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.menu .ttl img{
    width: 30%!important;
}
.menu .box{display: flex;justify-content: stretch;max-width: 870px;margin: 0 auto;margin-bottom: 30px;}
.menu .box .imgBox{width: 50%;}
.menu .box .txtBox{width: 50%;background: #fff;padding: 40px;box-sizing: border-box;width: 50%;padding: 40px;display: flex;flex-direction: column;}
.menu .box .linkBtn{
    margin-top: auto;
}
.menu .box .ttl{
    border: none;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}
.menu .box p{
    text-align: center;
    font-size: 18px;
    color: #534741;
}
.menu .box a{
    background: #de2626;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 10px 40px 10px;
    font-size: 16px;
    margin-top: auto;
    font-weight: bold;
    position: relative;
}
.menu .box a:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    margin-top: -7px;
    border: 8px solid transparent;
    border-left: 8px solid #fff;
}
.menu .box:last-child{
    margin-bottom: 0;
    padding-bottom: 30px;
    border-bottom: #534741 4px dotted;
}

/*-----------------------------
    linkArea
------------------------------*/
.linkArea{
    padding-bottom: 20px;
}
.linkArea ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.linkArea ul li{
    margin-bottom: 20px;
}
.linkArea ul li a{
    display:block;
}
/*-----------------------------
    モーダル表示
------------------------------*/
.lightcase{}
#lightcase-content{
    position: fixed !important;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-top: 3em;
    background-color: transparent !important;
    }
.lightcase-contentInner{
    position: relative !important;
    max-width: 1200px !important;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    width: calc(100% - 2em) !important;
    height: calc(100% - 2em) !important;
}
.lightcase-contentInner iframe{
    width: 100% !important;
    height: 90% !important;
    max-width: none !important;
    max-height: none !important;
}
/*-----------------------------
    リード文対応
------------------------------*/
.top_images p{
    display:none!important;
}
/*-----------------------------
    SP layout
------------------------------*/
@media screen and (max-width: 786px) {
    body{
        width: 100%;  
    }
    #mainContents{
        width: 100%;
        padding-top: 5%;
    }
    #mainContents img{
        width: 100%;  
    }
    #mainContents section{
        margin-bottom: 5%;
        max-width: 94%;
    }
    .mv{
        background: url(../images/bg_mv_sp.png)no-repeat;
        padding: 5% 0 4% 0;
        background-size: 100%;
        min-height: auto;
        margin-top: 55%;
        margin-top: 0!important;
    }
    .mv .box{
        margin-top: 40%;
        max-width: 72%;
    }
    .cp .linkBtn{
        width: 49%;
    }
    .menu{
        padding: 5% 0;
    }
    .menu .ttl{
        max-width: 93%;
        margin-bottom: 5%;
        padding-bottom: 4%;
    }
    .menu .ttl img{
        width: 60%!important;
    }
    .menu .box{
        flex-direction: column;
    }
    .menu .box .imgBox,.menu .box .txtBox{
        width: 94%;
        margin: 0 auto; 
    }
    .menu .box .txtBox{
        padding: 8%;
    }
    .menu .box .ttl{
        font-size: 20px;
    }
    .menu .box p{
        font-size: 16px;
        margin-bottom: 5%;
    }
    .order1 {
      order: 1;
    }
    .order2 {
      order: 2;
    }
    .order3 {
      order: 3;
    }
    .order4 {
      order: 4;
    }
    .linkArea ul li{
        width: 49%;
        margin-bottom: 3%;
    }
    .lightcase{}
    .lightcase .lightcase-contentInner{
    width: calc(100% - 2em) !important;
    height: calc(100% - 2em) !important;
    }

}
